<?php 
namespace frontend\models;


use common\models\User;
use yii\db\ActiveReCord;
/**
 * 
 */
class Apply extends ActiveRecord
{
    public $province;
    public $city;
    public $district;
	
	public static function tableName()
	{
		return 'recruit_resume';
	}

	public function rules()
	{
		return [
			[['HaveWorkExpress', 'CompanyName', 'JobTitle', 'WorkDateStart', 'WorkDateEnd', 'Salary', 'WorkDescription', 'EducationLevel', 'IsTongZhao', 'EduDateStart', 'EduDateEnd', 'SchoolName', 'MajorName', 'DesiredEmploymentType', 'DesiredCityName', 'DesiredJobTypeName', 'DesiredSalaryScope', 'CurrentCareerStatus'], 'required'],
		];
	}

	/**
     * @return array customized attribute labels
     */
    public function attributeLabels()
    {
        return [
            'HaveWorkExpress' => '是否有工作/实习经验',
            'CompanyName' => '公司名称',
            'JobTitle' => '职位名称',
            'WorkDateStart' => '工作时间（始）',
            'WorkDateEnd' => '工作时间（终）',
            'Salary' => '职位月薪（税前）',
            'WorkDescription' => '工作描述',
            'EducationLevel' => '学历/学位',
            'IsTongZhao' => '是否统招',
            'EduDateStart' => '就读时间（始）',
            'EduDateEnd' => '就读时间（终）',
            'SchoolName' => '学校名称',
            'MajorName' => '专业名称',
            'DesiredEmploymentType' => '期望工作性质',
            'DesiredCityName' => '期望工作地点',
            'DesiredJobTypeName' => '期望从事职业',
            'DesiredSalaryScope' => '期望月薪（税前）',
            'CurrentCareerStatus' => '工作状态',
        ];
    }
}

